import 'package:json_annotation/json_annotation.dart';

part 'task_withdraw_record_model.g.dart';

@JsonSerializable()
class TaskWithdrawRecordModel {
  final String month;
  final String mobile;
  final String description;
  final String fromChannel;
  final String amount;
  final String createTime;
  final String statusDescription;
  final String exchangeDay;
  final int id;
  final String type;

  TaskWithdrawRecordModel({
    required this.month,
    required this.mobile,
    required this.description,
    required this.fromChannel,
    required this.amount,
    required this.createTime,
    required this.statusDescription,
    required this.exchangeDay,
    required this.id,
    required this.type,
  });

  factory TaskWithdrawRecordModel.fromJson(Map<String, dynamic> json) =>
      _$TaskWithdrawRecordModelFromJson(json);

  Map<String, dynamic> toJson() => _$TaskWithdrawRecordModelToJson(this);
}